package com.ktjy.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ktjy.pojo.SysUser;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author jjx
 * @since 2025-01-09
 */
public interface ISysUserService extends IService<SysUser> {
    /**
     * 登录
     * @param usrName
     * @param usrPassword
     * @return
     */
    public SysUser login(String usrName,String usrPassword);

    /**
     * 分页
     * @param sysUser
     * @param pageNo
     * @param pageSize
     * @return
     */
    public IPage<SysUser> findPage(SysUser sysUser, Integer pageNo, Integer pageSize);
}
